import React from 'react';
import {HeaderBackButton} from '../widgets';
import {StyleProp, TextStyle} from 'react-native'


interface Options {
    headerShown: boolean,
    headerLeft?: () => JSX.Element,
    headerTitleStyle?: StyleProp<TextStyle>
}
interface Router {
  name: string;
  widget: () => JSX.Element;
  options?: any;
}
const CommonOption1: Options = {
    headerShown: true,
    headerLeft: () => <HeaderBackButton/>,
    headerTitleStyle: {fontSize: 18,color:'#222'}
}
export const Routers: Router[] = [];

// {
//   name: "TestOne",
//   widget: TestOne,
//   options: CommonOption1
// }